package com.feri.tiantian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@TableName("t_sms_log")
public class SmsLog {
    @TableId(type = IdType.AUTO)
    private Integer id ;
    /** 手机号 */
    private String phone ;
    /** 类型 */
    private int type ;
    /** 内容 */
    private String info ;
    /** 创建时间 */
    private Date ctime ;

    public SmsLog(String phone, int type, String info, Date ctime) {
        this.phone = phone;
        this.type = type;
        this.info = info;
        this.ctime = ctime;
    }

}
